home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / mui / mui-tools / multiuser / src / support / musupport_locale.h < prev    next >
C/C++ Source or Header  |  1995-03-09  |  7KB  |  200 lines

  1. #ifndef MUSUPPORT_LOCALE_H
  2. #define MUSUPPORT_LOCALE_H
  3.  
  4.  
  5. /****************************************************************************/
  6.  
  7.  
  8. /* This file was created automatically by CatComp.
  9.  * Do NOT edit by hand!
  10.  */
  11.  
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include <exec/types.h>
  15. #endif
  16.  
  17. #ifdef CATCOMP_ARRAY
  18. #undef CATCOMP_NUMBERS
  19. #undef CATCOMP_STRINGS
  20. #define CATCOMP_NUMBERS
  21. #define CATCOMP_STRINGS
  22. #endif
  23.  
  24. #ifdef CATCOMP_BLOCK
  25. #undef CATCOMP_STRINGS
  26. #define CATCOMP_STRINGS
  27. #endif
  28.  
  29.  
  30. /****************************************************************************/
  31.  
  32.  
  33. #ifdef CATCOMP_NUMBERS
  34.  
  35. #define MSG_BADARG 0
  36. #define MSG_KILLFAIL 1
  37. #define MSG_FREEZEFAIL 2
  38. #define MSG_UNFREEZEFAIL 3
  39. #define MSG_BOTH_ONOFF 4
  40. #define MSG_NO_ONOFF 5
  41. #define MSG_BOTH_TASKPROC 6
  42. #define MSG_BOTH_USERIDOWN 7
  43. #define MSG_TASKNOTFOUND 8
  44. #define MSG_PROCNOTFOUND 9
  45. #define MSG_LOGINOK 10
  46. #define MSG_LOGINFAIL 11
  47. #define MSG_KEYFILEFAIL 12
  48. #define MSG_KEYFILEBACKUP 13
  49. #define MSG_BADCONFIGDIR 14
  50. #define MSG_BADPASSWDDIR 15
  51. #define MSG_INVALID_DEVICE 16
  52. #define MSG_MUSTBEROOT 17
  53. #define MSG_ASSIGNCONFLICT 18
  54. #define MSG_DIRECTORY 19
  55. #define MSG_USAGE 20
  56. #define MSG_TOTAL 21
  57. #define MSG_BOTH_ADDSUB 22
  58. #define MSG_WARN_UW 23
  59. #define MSG_DONE 24
  60. #define MSG_INVALID_FLAG 25
  61. #define MSG_ENTEROLDPWD_GUI 26
  62. #define MSG_ENTERNEWPWD_GUI 27
  63. #define MSG_RETYPEPWD_GUI 28
  64. #define MSG_PASSWDREQ_GUI 29
  65. #define MSG_ENTEROLDPWD_CON 30
  66. #define MSG_ENTERNEWPWD_CON 31
  67. #define MSG_RETYPEPWD_CON 32
  68. #define MSG_RETYPEERROR_GUI 33
  69. #define MSG_RETYPEERROR_CON 34
  70. #define MSG_PWDCHANGEOK_GUI 35
  71. #define MSG_PWDCHANGEOK_CON 36
  72. #define MSG_PWDCHANGEFAIL_GUI 37
  73. #define MSG_PWDCHANGEFAIL_CON 38
  74. #define MSG_OK 39
  75. #define MSG_NOMEMSTACK 40
  76. #define MSG_ONLYFROMCLI 41
  77. #define MSG_SETDEFPROTECTFAIL 42
  78. #define MSG_INVALID_OPTIONS 43
  79. #define MSG_UNKNOWN_USER 44
  80. #define MSG_UNKNOWN_GROUP 45
  81. #define MSG_TFORMAT_HEAD1 46
  82. #define MSG_TFORMAT_HEAD2 47
  83. #define MSG_TFORMAT_LINE 48
  84. #define MSG_CLI 49
  85. #define MSG_PROC 50
  86. #define MSG_TASK 51
  87. #define MSG_UINFO_THIS 52
  88. #define MSG_UINFO_ALL 53
  89. #define MSG_UINFO_USERID 54
  90. #define MSG_UINFO_UID 55
  91. #define MSG_GINFO_GROUPID 56
  92. #define MSG_GINFO_GID 57
  93. #define MSG_NOINFO 58
  94. #define MSG_UFORMAT_USER 59
  95. #define MSG_UFORMAT_SECGROUPS 60
  96. #define MSG_UFORMAT_SECGROUPS2 61
  97. #define MSG_UFORMAT_NOSECGROUPS 62
  98. #define MSG_NEVERLOGGED 63
  99. #define MSG_LASTLOGGED 64
  100. #define MSG_PLAN 65
  101. #define MSG_NOPLAN 66
  102. #define MSG_NOLOGACCESS 67
  103. #define MSG_UNKNOWN_UID 68
  104. #define MSG_NOBODY 69
  105.  
  106. #endif /* CATCOMP_NUMBERS */
  107.  
  108.  
  109. /****************************************************************************/
  110.  
  111.  
  112. #ifdef CATCOMP_STRINGS
  113.  
  114. #define MSG_BADARG_STR "Bad argument\n"
  115. #define MSG_KILLFAIL_STR "Couldn't kill task\n"
  116. #define MSG_FREEZEFAIL_STR "Couldn't freeze task\n"
  117. #define MSG_UNFREEZEFAIL_STR "Couldn't unfreeze task\n"
  118. #define MSG_BOTH_ONOFF_STR "You can't specify both ON and OFF\n"
  119. #define MSG_NO_ONOFF_STR "You must specify one of ON and OFF\n"
  120. #define MSG_BOTH_TASKPROC_STR "You can't specify both TASK and PROCESS\n"
  121. #define MSG_BOTH_USERIDOWN_STR "You can't specify both USERID and OWN\n"
  122. #define MSG_TASKNOTFOUND_STR "Couldn't find task \'%s\'\n"
  123. #define MSG_PROCNOTFOUND_STR "Couldn't find process %ld\n"
  124. #define MSG_LOGINOK_STR "Login successful\n"
  125. #define MSG_LOGINFAIL_STR "Login failed\n"
  126. #define MSG_KEYFILEFAIL_STR "Couldn't create keyfile on volume \'%s\'"
  127. #define MSG_KEYFILEBACKUP_STR "\n\033[1m     Do NOT forget to make a backup of all Keyfiles!!\033[0m\n\n"
  128. #define MSG_BADCONFIGDIR_STR "The configuration directory must be on a partition using the MultiUserFileSystem\n"
  129. #define MSG_BADPASSWDDIR_STR "The password directory must be on a partition using the MultiUserFileSystem\n"
  130. #define MSG_INVALID_DEVICE_STR "Invalid device name %s\n"
  131. #define MSG_MUSTBEROOT_STR "MAssign must be run by root\n"
  132. #define MSG_ASSIGNCONFLICT_STR "%s conflicts with another assign\n"
  133. #define MSG_DIRECTORY_STR "Directory \"%s\"\n"
  134. #define MSG_USAGE_STR "%ld files - %ld directories - %ld blocks used\n\n"
  135. #define MSG_TOTAL_STR "TOTAL: "
  136. #define MSG_BOTH_ADDSUB_STR "You can't specify both ADD and SUB\n"
  137. #define MSG_WARN_UW_STR "WARNING: U and W are both set\n"
  138. #define MSG_DONE_STR "...Done\n"
  139. #define MSG_INVALID_FLAG_STR "Invalid flag - must be one of %s\n"
  140. #define MSG_ENTEROLDPWD_GUI_STR "Enter your old password"
  141. #define MSG_ENTERNEWPWD_GUI_STR "Enter your new password"
  142. #define MSG_RETYPEPWD_GUI_STR "Retype your new password"
  143. #define MSG_PASSWDREQ_GUI_STR "MultiUser Passwd Request"
  144. #define MSG_ENTEROLDPWD_CON_STR "Old password        : "
  145. #define MSG_ENTERNEWPWD_CON_STR "\nNew password        :"
  146. #define MSG_RETYPEPWD_CON_STR "\nRetype new password :"
  147. #define MSG_RETYPEERROR_GUI_STR "Error retyping new password"
  148. #define MSG_RETYPEERROR_CON_STR "Error retyping new password\n"
  149. #define MSG_PWDCHANGEOK_GUI_STR "Password successfully changed"
  150. #define MSG_PWDCHANGEOK_CON_STR "Password successfully changed\n"
  151. #define MSG_PWDCHANGEFAIL_GUI_STR "Changing password failed"
  152. #define MSG_PWDCHANGEFAIL_CON_STR "Changing password failed\n"
  153. #define MSG_OK_STR "OK"
  154. #define MSG_NOMEMSTACK_STR "Not enough memory for stack\n"
  155. #define MSG_ONLYFROMCLI_STR "RunCommand must be used from a CLI\n"
  156. #define MSG_SETDEFPROTECTFAIL_STR "SetDefProtect failed\n"
  157. #define MSG_INVALID_OPTIONS_STR "Invalid options\n"
  158. #define MSG_UNKNOWN_USER_STR "Unknown User \'%s\'\n"
  159. #define MSG_UNKNOWN_GROUP_STR "Unknown Group \'%s\'\n"
  160. #define MSG_TFORMAT_HEAD1_STR "Type    Node     Pri Name/Command                     Owner\n"
  161. #define MSG_TFORMAT_HEAD2_STR "-----------------------------------------------------------\n"
  162. #define MSG_TFORMAT_LINE_STR "%-7s %08lx %3ld %-32s %s\n"
  163. #define MSG_CLI_STR "CLI %3ld"
  164. #define MSG_PROC_STR "Process"
  165. #define MSG_TASK_STR "Task"
  166. #define MSG_UINFO_THIS_STR "Dumping information for this user...\n"
  167. #define MSG_UINFO_ALL_STR "Dumping information for all users...\n"
  168. #define MSG_UINFO_USERID_STR "Dumping information for user \'%s\'...\n"
  169. #define MSG_UINFO_UID_STR "Dumping information for user %ld...\n"
  170. #define MSG_GINFO_GROUPID_STR "Dumping information for group \'%s\'...\n"
  171. #define MSG_GINFO_GID_STR "Dumping information for group %ld...\n"
  172. #define MSG_NOINFO_STR "No information\n"
  173. #define MSG_UFORMAT_USER_STR "\nUser \'%s\' (uid %ld), group \'%s\' (gid %ld)\nIn real life \'%s\'\nHome Directory \'%s\'\n"
  174. #define MSG_UFORMAT_SECGROUPS_STR "Secondary groups: \'%s\' (gid %ld)"
  175. #define MSG_UFORMAT_SECGROUPS2_STR ", \'%s\' (gid %ld)"
  176. #define MSG_UFORMAT_NOSECGROUPS_STR "No secondary groups.\n"
  177. #define MSG_NEVERLOGGED_STR "Never logged in.\n"
  178. #define MSG_LASTLOGGED_STR "Last login on %s, %s at %s.\n"
  179. #define MSG_PLAN_STR "Plan:\n"
  180. #define MSG_NOPLAN_STR "No plan.\n"
  181. #define MSG_NOLOGACCESS_STR "No access to last login or plan.\n"
  182. #define MSG_UNKNOWN_UID_STR "Unknown user %04lx\n"
  183. #define MSG_NOBODY_STR "Mister Anonymous"
  184.  
  185. #endif /* CATCOMP_STRINGS */
  186.  
  187.  
  188. /****************************************************************************/
  189.  
  190.  
  191. struct LocaleInfo
  192. {
  193.     APTR li_LocaleBase;
  194.     APTR li_Catalog;
  195. };
  196.  
  197.  
  198.  
  199. #endif /* MUSUPPORT_LOCALE_H */
  200.